<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
 lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
    dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage    [DHX documentation]
  </title></head>

<body>
<div class="dokuwiki">
  
  <div class="stylehead">

    <div class="header">
    <a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
    <span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>

    <div class="search-field">
        <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>    </div>
        <div class="buttons">
                <a class="doc"></a>
                <a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
        </div>
     <!-- <div class="pagename">
        [[<a href="#"  title="Backlinks">dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage</a>]]
      </div>
      <div class="logo">
        <a href="/dhtmlx/docs/doku.php"  name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a>      </div>

      <div class="clearer"></div>-->
        
    </div>

    
<!--   <div class="bar" id="bar__top">
      <div class="bar-left" id="bar__topleft">
        <form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>        <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>      </div>

      <div class="bar-right" id="bar__topright">
        <form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form>        <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>&nbsp;
      </div>

      <div class="clearer"></div>
    </div> -->

<!--        <div class="breadcrumbs">
      <span class="bchead">Trace:</span> <span class="bcsep">&raquo;</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage"  class="breadcrumbs" title="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage">api_method_dhtmlxcalendar_loaduserlanguage</a></span>    </div>
    -->

    
  </div>
  
  
  <div class="page">
    <!-- wikipage start -->
    
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif"  class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___calendar.gif"  class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxcalendar:toc">dhtmlxcalendar</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxcalendar___dhtmlxcalendar_api.html" class="wikilink1" title="dhtmlxcalendar:dhtmlxcalendar_api">API Reference</a></div></div>

</p>

<h3><a name="loaduserlanguage_lang_func" id="loaduserlanguage_lang_func">loadUserLanguage(lang, func)</a></h3>
<div class="level3">

<p>
Sets a new language interface for calendar.
</p>

<p>
<strong>Parameters:</strong>
</p>
<ul>
<li class="level1"><div class="li"> <em>lang</em> - the language name. </div>
</li>
<li class="level1"><div class="li"> <em>func</em> - the function called after language is loaded.</div>
</li>
</ul>
<pre class="code javascript">dhtmlXCalendarObject.<span class="me1">prototype</span>.<span class="me1">langData</span><span class="br0">&#91;</span><span class="st0">&quot;de&quot;</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="br0">&#123;</span>
        <span class="co1">//date format</span>
	dateformat<span class="sy0">:</span> <span class="st0">'%d.%m.%Y'</span><span class="sy0">,</span>
	<span class="co1">//full names of months</span>
        monthesFNames<span class="sy0">:</span> <span class="br0">&#91;</span><span class="st0">&quot;Januar&quot;</span><span class="sy0">,</span><span class="st0">&quot;Februar&quot;</span><span class="sy0">,</span><span class="st0">&quot;März&quot;</span><span class="sy0">,</span><span class="st0">&quot;April&quot;</span><span class="sy0">,</span><span class="st0">&quot;Mai&quot;</span><span class="sy0">,</span><span class="st0">&quot;Juni&quot;</span><span class="sy0">,</span><span class="st0">&quot;Juli&quot;</span><span class="sy0">,</span><span class="st0">&quot;August&quot;</span><span class="sy0">,</span><span class="st0">&quot;September&quot;</span><span class="sy0">,</span><span class="st0">&quot;Oktober&quot;</span><span class="sy0">,</span><span class="st0">&quot;November&quot;</span><span class="sy0">,</span><span class="st0">&quot;Dezember&quot;</span><span class="br0">&#93;</span><span class="sy0">,</span>
	<span class="co1">//shortened names of months</span>
        monthesSNames<span class="sy0">:</span> <span class="br0">&#91;</span><span class="st0">&quot;Jan&quot;</span><span class="sy0">,</span><span class="st0">&quot;Feb&quot;</span><span class="sy0">,</span><span class="st0">&quot;Mär&quot;</span><span class="sy0">,</span><span class="st0">&quot;Apr&quot;</span><span class="sy0">,</span><span class="st0">&quot;Mai&quot;</span><span class="sy0">,</span><span class="st0">&quot;Jun&quot;</span><span class="sy0">,</span><span class="st0">&quot;Jul&quot;</span><span class="sy0">,</span><span class="st0">&quot;Aug&quot;</span><span class="sy0">,</span><span class="st0">&quot;Sep&quot;</span><span class="sy0">,</span><span class="st0">&quot;Okt&quot;</span><span class="sy0">,</span><span class="st0">&quot;Nov&quot;</span><span class="sy0">,</span><span class="st0">&quot;Dez&quot;</span><span class="br0">&#93;</span><span class="sy0">,</span>
	<span class="co1">//full names of days</span>
        daysFNames<span class="sy0">:</span> <span class="br0">&#91;</span><span class="st0">&quot;Sonntag&quot;</span><span class="sy0">,</span><span class="st0">&quot;Montag&quot;</span><span class="sy0">,</span><span class="st0">&quot;Dienstag&quot;</span><span class="sy0">,</span><span class="st0">&quot;Mittwoch&quot;</span><span class="sy0">,</span><span class="st0">&quot;Donnerstag&quot;</span><span class="sy0">,</span><span class="st0">&quot;Freitag&quot;</span><span class="sy0">,</span><span class="st0">&quot;Samstag&quot;</span><span class="br0">&#93;</span><span class="sy0">,</span>
	<span class="co1">//shortened names of days</span>
        daysSNames<span class="sy0">:</span> <span class="br0">&#91;</span><span class="st0">&quot;So&quot;</span><span class="sy0">,</span><span class="st0">&quot;Mo&quot;</span><span class="sy0">,</span><span class="st0">&quot;Di&quot;</span><span class="sy0">,</span><span class="st0">&quot;Mi&quot;</span><span class="sy0">,</span><span class="st0">&quot;Do&quot;</span><span class="sy0">,</span><span class="st0">&quot;Fr&quot;</span><span class="sy0">,</span><span class="st0">&quot;Sa&quot;</span><span class="br0">&#93;</span><span class="sy0">,</span>
        <span class="co1">//starting day of a week. Number from 1(Monday) to 7(Sunday)</span>
	weekstart<span class="sy0">:</span> <span class="nu0">1</span>
<span class="br0">&#125;</span>
<span class="kw2">function</span> doOnLoad<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
        <span class="kw2">var</span> myCalendar <span class="sy0">=</span> <span class="kw2">new</span> dhtmlXCalendarObject<span class="br0">&#40;</span><span class="st0">&quot;calendarHere&quot;</span><span class="br0">&#41;</span>;
        myCalendar.<span class="me1">loadUserLanguage</span><span class="br0">&#40;</span><span class="st0">&quot;de&quot;</span><span class="br0">&#41;</span>;
        myCalendar.<span class="me1">show</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span></pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="105-" /><input type="hidden" name="rev" value="1310061273" /><input type="hidden" name="id" value="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage" /><input type="submit" value="Edit" class="button" title="loadUserLanguage(lang, func)" /></div></form></div>
    <!-- wikipage stop -->
  </div>

  <div class="clearer">&nbsp;</div>

  
  <div class="stylefoot">

    <div class="meta">
      <div class="user">
              </div>
     <!-- <div class="doc">
        dhtmlxcalendar/api_method_dhtmlxcalendar_loaduserlanguage.txt &middot; Last modified: 2011/07/07 20:54 (external edit)      </div>
    </div>-->

   
    <!--<div class="bar" id="bar__bottom">-->
      <!--<div class="bar-left" id="bar__bottomleft">-->
        <!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
        <!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
      <!--</div>-->
      <!--<div class="bar-right" id="bar__bottomright">-->
        <!---->
        <!---->
        <!---->
        <!---->
        <!---->
        <!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
        <!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a>&nbsp;-->
      <!--</div>-->
      <!--<div class="clearer"></div>-->
    <!--</div>-->

  </div>

  

</div>

<div class="footerinc">


</div>

<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxcalendar%3Aapi_method_dhtmlxcalendar_loaduserlanguage&amp;1310730710" width="1" height="1" alt=""  /></div>
     <div class="footer">
        <div class="footer-logo"></div>
        <div class="copyright">Copyright © 1998-2011 DHTMLX LTD.<br />All rights reserved.</div>
        <form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>    	    </div>
</body>
</html>
